import React from 'react';
import ReactDOM from 'react-dom';

import Pagination from 'rc-pagination';
import 'rc-pagination/assets/index.css';


class Pageination extends React.Component {
    constructor(props){
        super(props);
    }
    render() {
        return (
            <div className="row">
                    <div className="col-md-12">
                    <Pagination {...this.props}
                        hideOnSinglePage
                        showQuickJumper
                        onchange={(pageNum) => console.log(pageNum)}
                    />
                    </div>
            </div>
        )
    }
}

export default Pageination